package cn.edu.hit.core.combine;

import cn.edu.hit.core.Document;

import java.util.List;
import java.util.Map;

public class AssignAdapter extends CombineAdapterHelper {
    @Override
    public boolean accept(String type) {
        return "Assign".equalsIgnoreCase(type);
    }

    @Override
    protected Object combineAndCalculate(List<Document> channelDocs, Document configure, String method, Map<String, Object> arg) {
        return configure.get(TRANSFER_ARG);
    }
}
